home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / gfxcard / chunkyppc / test_new_68k.c < prev    next >
C/C++ Source or Header  |  1999-11-29  |  254b  |  22 lines

  1. #include <stdio.h>
  2.  
  3. struct test
  4. {
  5.     int a;
  6. };
  7.  
  8. void * __saveds myhook(void *data)
  9. {
  10.  struct test *tester=data;
  11.  fprintf(stderr,"68k: %i\n",tester->a);
  12.  tester->a+=2;
  13.  return (void *)tester;
  14. }
  15.  
  16. extern void mixedmain();
  17.  
  18. void main()
  19. {
  20.     mixedmain();
  21. }
  22.